# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=grepforrfi
pkgver=0.1
pkgrel=6
groups=('blackarch' 'blackarch-scanner')
pkgdesc='Simple script for parsing web logs for RFIs and Webshells v1.2'
url='http://www.irongeek.com/downloads/grepforrfi.txt'
arch=('any')
license=('GPL2')
depends=('python2')
source=('http://www.irongeek.com/downloads/grepforrfi.txt')
sha512sums=('9da2f683b68470bc540833686f0b7ba10ab6e27dd9647d5fee85941fa55a3256d0a3fead03392e663dcc3ad63ee644a4406f5d50c8e9647aaa6ebde0ee8e20c5')
install="$pkgname.install"

prepare(){
  sed -i 's/python2.5/python2/' "$pkgname.txt"
}

package() {
  install -Dm 755 "$pkgname.txt" "$pkgdir/usr/bin/$pkgname"
}

